/*
 *  Copyright (C) 2007 Neil Jagdish Patel <njpatel@gmail.com>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA.
 *
 *  Author : Neil Jagdish Patel <njpatel@gmail.com>
*/

#include <gtk/gtk.h>

#include "bling-window.h"
#include "bling-spinner.h"

int 
main (int argc, char* argv[])
{
	GtkWidget *spinner;
	GtkWidget *window;
	GtkHBox *spinnerbox;

	gtk_init (&argc, &argv);

	window = bling_window_new();
	spinner = bling_spinner_new();
	
	gtk_window_set_decorated (GTK_WINDOW(window), FALSE);
	gtk_container_set_border_width (GTK_CONTAINER(window), 10);

	spinnerbox = gtk_hbox_new(TRUE, 2);
	gtk_box_pack_start(GTK_BOX(spinnerbox), gtk_button_new_from_stock(GTK_STOCK_OK), FALSE, FALSE, 0);
	gtk_box_pack_start(GTK_BOX(spinnerbox), spinner, TRUE, TRUE, 0);

	gtk_container_add(GTK_CONTAINER(window), spinnerbox);

	gtk_widget_show_all(window);
	bling_spinner_start (BLING_SPINNER (spinner));        

	gtk_main ();
}


